\hypertarget{class_core_1_1_manipulators_1_1_contrast}{
\section{Core::Manipulators::Contrast Class Reference}
\label{class_core_1_1_manipulators_1_1_contrast}\index{Core::Manipulators::Contrast@{Core::Manipulators::Contrast}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_core_1_1_images_1_1_picture_box_image}{PictureBoxImage} \hyperlink{class_core_1_1_manipulators_1_1_contrast_a8362f6c82ab06aa2ff52d7cb3360b28b}{AdjustContrast} (\hyperlink{class_core_1_1_images_1_1_picture_box_image}{PictureBoxImage} pictureBoxImage, float contrastLevel)
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static T \hyperlink{class_core_1_1_manipulators_1_1_contrast_a4898ce913d2031a4c9fa6fe73eba5c0e}{Clamp$<$ T $>$} (T value, T max, T min)
\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{class_core_1_1_manipulators_1_1_contrast_a8362f6c82ab06aa2ff52d7cb3360b28b}{
\index{Core::Manipulators::Contrast@{Core::Manipulators::Contrast}!AdjustContrast@{AdjustContrast}}
\index{AdjustContrast@{AdjustContrast}!Core::Manipulators::Contrast@{Core::Manipulators::Contrast}}
\subsubsection[{AdjustContrast}]{\setlength{\rightskip}{0pt plus 5cm}{\bf PictureBoxImage} Core::Manipulators::Contrast::AdjustContrast ({\bf PictureBoxImage} {\em pictureBoxImage}, \/  float {\em contrastLevel})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_core_1_1_manipulators_1_1_contrast_a8362f6c82ab06aa2ff52d7cb3360b28b}
A filter that will change the contrast of an image.


\begin{DoxyParams}{Parameters}
\item[{\em pictureBoxImage}]The PictureBoxImage object in the current context of Shopped GUI \end{DoxyParams}
\begin{DoxyReturn}{Returns}
A PictureBoxImage object with the appropriate properties set by this method. 
\end{DoxyReturn}
\hypertarget{class_core_1_1_manipulators_1_1_contrast_a4898ce913d2031a4c9fa6fe73eba5c0e}{
\index{Core::Manipulators::Contrast@{Core::Manipulators::Contrast}!Clamp$<$ T $>$@{Clamp$<$ T $>$}}
\index{Clamp$<$ T $>$@{Clamp$<$ T $>$}!Core::Manipulators::Contrast@{Core::Manipulators::Contrast}}
\subsubsection[{Clamp$<$ T $>$}]{\setlength{\rightskip}{0pt plus 5cm}static T Core::Manipulators::Contrast::Clamp$<$ T $>$ (T {\em value}, \/  T {\em max}, \/  T {\em min})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}
\label{class_core_1_1_manipulators_1_1_contrast_a4898ce913d2031a4c9fa6fe73eba5c0e}
A generic clamp class that make sure the RBG values lie in the specified range. If it is greater than the max value, it is replaced by the max value.


\begin{DoxyParams}{Parameters}
\item[{\em value}]The value being compared \item[{\em max}]The maximum allowed value \item[{\em min}]The minimum allowed value \end{DoxyParams}
\begin{Desc}
\item[Type Constraints]\begin{description}
\item[{\em T} : {\em System.IComparable$<$T$>$}]\end{description}
\end{Desc}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
C:/Users/Andy/Documents/Visual Studio 2008/Projects/capstone2009/shopped/src/Core/Manipulators/Contrast.cs\end{DoxyCompactItemize}
